home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_oth / tm480 / tmissue.exe / STANDARD.TSK < prev   
Text File  |  1991-09-10  |  38KB  |  1,864 lines

  1. go 1INIT        ;see notes there
  2. 1BEGIN
  3. until forever
  4.   go 1LOGIN
  5. 1ENDLOG
  6.   trim uname
  7.   move 0ffcfh to bbmask
  8.   move autolog to timer
  9.   MENU 1,serv,texts
  10.   OPTION 1,42
  11.     move hilite to choice
  12.     clear bbdisp
  13.     subtract 1 from hilite giving i
  14.     if hilite = lasthelp
  15.       return
  16.     fi
  17.     move i to j
  18.     multiply j by 4
  19.     add 4 to j giving k
  20.     insert entry i of texts
  21.     if entry j of hlp = spaces
  22.       move 'SORRY' to form
  23.     else
  24.       move 'INFO' to form
  25.       until j = k
  26.         insert entry j of hlp
  27.       fi j
  28.     fi
  29.     put form nowait
  30.     move hilite to lasthelp
  31.     return
  32.   OPTION 1,44
  33.     if m2id = 0
  34.       put features nowait nodata
  35.       popget m2id
  36.       put clearkeys nowait
  37.       popget ckid
  38.     else
  39.       popdown ckid
  40.       popdown m2id
  41.     fi
  42.     move 0ffe1h to bbmask
  43.     move hilite to topic1
  44.     popdown bclr
  45.     move autolog to timer
  46.     clear bbdisp lasthelp
  47.     MENU 2,features
  48.     OPTION 2,30
  49.     option 2,45
  50.     option 2,99
  51.       clear bbdisp
  52.       move topic1 to choice
  53.       popdown p1
  54.       return 1
  55.     OPTION 2,2
  56.       fieldfill fn1
  57.       popdown khelp
  58.       put dpfile
  59.       popdown bclr
  60.       if funkey = 10
  61.         move hilite to choice
  62.         clear bbdisp
  63.         return
  64.       fi
  65.       get fn1
  66.       trim fn1
  67.       run fmpdir '\LIST ' fn1
  68.       popfree p0
  69.       popscreen p0
  70.       popdown p1
  71.       move hilite to choice
  72.       popdown ckid
  73.       popdown m2id
  74.       clear bbdisp
  75.       return
  76.     OPTION 2,3
  77.       popdown p0
  78.       go 1CAPTURE
  79.     OPTION 2,4
  80.       go 1JOTTER
  81.     OPTION 2,5
  82.       move hilite to i
  83.       if sfiles = spaces
  84.         insert current_path
  85.         put nocats
  86.         return
  87.       fi
  88.       insert sfiles
  89.       move 8020h to bbmask
  90.       put servcats
  91.       clear bbdisp
  92.       if choice > 10
  93.         move i to choice
  94.         return
  95.       fi
  96.       move servcat to lastcat
  97.       move display to servcat
  98.       trim servcat
  99.       if servcat = lastcat
  100.         move i to choice
  101.         return
  102.       fi
  103.       move true to newcat
  104.       move true to bbdisp
  105.       exitm 
  106.     OPTION 2,6
  107.       go 1ST
  108.     OPTION 2,7
  109.       fieldfill current_path
  110.       popdown khelp
  111.       put newpath
  112.       popdown bclr
  113.       if funkey <> 10
  114.         if funkey = 2
  115.           move initial_path to cpath
  116.         else
  117.           get cpath
  118.           trim cpath
  119.         fi
  120.         if cpath <> current_path
  121.           user cpath
  122.           move cpath to current_path
  123.         fi
  124.         if cpath sw '~:'
  125.           move cpath to drv
  126.           select drv
  127.         else
  128.           move ddrive to drv
  129.         fi
  130.         dspace
  131.         if resp = 0ffffh 
  132.           insert drv
  133.           put nodrive
  134.         else
  135.           insert sysfree display ddrive
  136.           put freebytes nowait
  137.         fi
  138.       fi
  139.       clear bbdisp
  140.       move hilite to choice
  141.       return
  142.     OPTION 2,8,9
  143.       if shellout
  144.         go 1shell
  145.       fi
  146.       put noshells
  147.       move hilite to choice
  148.       clear bbdisp
  149.       return
  150.     OPTION 2,1
  151.       forms LOGON.OVR
  152.       put bounce_bar ul wt
  153.       forms stforms
  154.       popdown p1
  155.       move hilite to choice
  156.       popdown ckid
  157.       popdown m2id
  158.       clear bbdisp
  159.       return
  160.   OPTION 1,1,10
  161.     popdown bclr
  162.     subtract 1 from choice giving i
  163.     move entry i of paths to cpath
  164.     replace all '\FMP' of cpath with fmpdir
  165.     move entry i of cmds to cmd
  166.     trim cpath cmd 
  167.     move time to timenow
  168.     move entry i of t1 to tim1
  169.     move entry i of t2 to tim2
  170.     clear na replies
  171.     if timenow >= tim1 and timenow <= tim2
  172.     elseè      move true to na
  173.     fi
  174.     if cmd = ';' or entry i of texts = spaces or na
  175.       insert entry i of texts
  176.       if na
  177.         insert tim1 tim2
  178.         move 'NOAVAIL' to form
  179.       else
  180.         move 'NOSERV' to form
  181.       fi
  182.       put form nowait
  183.       clear bbdisp
  184.     else  
  185.       move '1RTN' to label
  186.       go 1PARSUB
  187. 1RTN
  188.       move entry i of dts to dta
  189.       trim dta
  190.       if dta <> null
  191.         data dta
  192.         move entry i of wst to j
  193.         if j = 0
  194.           behave 2
  195.         else
  196.           behave 2 wait j
  197.         fi
  198.       fi
  199.       fore 7
  200.       back 0
  201.       display CLS
  202.       user cpath
  203.       if entry i of pty = 'N'
  204.         run cmd
  205.       else
  206.         large cmd
  207.       fi
  208.       if resp <> 0
  209.         go 1BADRUN
  210.       fi
  211.       move entry i of res to j
  212.       move true to run1
  213.       if j <> 1
  214.         go 1CHECK
  215. 1ENDCHK
  216.       fi      
  217.       if entry i of pau = 'Y' and run1
  218.         userline 'Paused as requested - ' wt
  219.         inkey char
  220.       fi
  221.       user current_path
  222.       popfree p0
  223.       popup p0 from p1
  224.       clear bbdisp
  225.     fi
  226.     dspace
  227.     insert sysfree display ddrive
  228.     put freebytes nowait
  229.     move hilite to choice
  230.     return
  231.   OPTION 1,11
  232.     clear reason
  233.     if demo
  234.       increment reason
  235.     else
  236.       if not secure
  237.         move 2 to reason
  238.       fi
  239.     fi
  240.     if uname = guest
  241.       move 4 to reason
  242.     else
  243.       popdown khelp
  244.       put 'NEWPASS'
  245.       popdown bclr
  246.       if anyfk
  247.         clear bbdisp
  248.         return
  249.       fi
  250.       get oldpass newpass
  251.       if oldpass = pass
  252.         move 10 to resp
  253.         password newpass
  254.         move newpass to pass
  255.       else
  256.         move 3 to reason
  257.       fi
  258.     fi
  259.     if reason <> 0
  260.       decrement reason
  261.       insert entry reason of reasons
  262.       put passfail
  263.     fi 
  264.     clear bbdisp
  265.     return
  266.   OPTION 1,12
  267.     logout
  268.     exitm
  269.   OPTION 1,13
  270.     if nstat = 0
  271.       put noipx nowait
  272.       clear bbdisp
  273.       return
  274.     fi
  275.     go 1MSG
  276.   option 1,43
  277.     combine catloc '\CATALOG.EUC' into sline
  278.     insert version stype ldspec cfp sline
  279.     put about
  280.     clear bbdisp
  281.     move hilite to choice
  282.     return
  283.   OPTION 1,30
  284.   OPTION 1,45
  285.     put logoff
  286.     get yesno
  287.     if not yesno 
  288.       clear bbdisp
  289.       move hilite to choice
  290.       return
  291.     fi
  292.     logout
  293.     exitm
  294.   OPTION 1,99
  295.     logout
  296.   ENDM 2
  297.     exitm
  298.   ENDM 1
  299.   if newcat
  300.     move '1RESTART' to loaded
  301.     put loading nowait
  302.     go 1RESTORE
  303. 1RESTART
  304.   fi
  305. fiè
  306. 1CHECK
  307.  
  308. clear sline found k
  309. move entry i of res1 to stext
  310. move entry i of res2 to l
  311. trim stext
  312. MENU 3,J
  313. OPTION 3,2
  314.   if l < 25
  315.     scanvid l giving sline
  316.     if sline ct stext
  317.       move true to found
  318.     fi
  319.   else
  320.     until k = 25 or found
  321.       scanvid k giving sline
  322.       if sline ct stext
  323.         move true to found
  324.       fi
  325.     fi k
  326.   fi
  327.   exitm
  328. OPTION 3,3
  329.   combine stext '\' entry i of res2 into sline
  330.   trim sline
  331.   lookfor sline
  332.   exitm
  333. OPTION 3,4
  334.   move stext to char
  335.   upper char
  336.   move true to found
  337.   if char = 'S' and l = elevel
  338.   else
  339.     if char = 'F' and l <> elevel
  340.     else
  341.       clear found
  342.     fi
  343.   fi
  344.   exitm
  345. ENDM 3
  346. move entry i of apt to char
  347. upper char
  348. if not found
  349.   userline 'Service response not as expected - ' wt
  350.   if char = 'S'
  351.     move true to found
  352.   fi
  353.   inkey char
  354. else
  355.   if char = 'S'
  356.     clear found
  357.   fi
  358. fi
  359. if not found  
  360.   move entry i of ap to cpathè  move entry i of ac to cmd
  361.   trim cpath cmd 
  362.   move '2RTN' to label
  363.   go 1PARSUB
  364. 2RTN
  365.   user cpath
  366.   display cls
  367.   if entry i of apt = 'N'
  368.     run cmd
  369.   else
  370.     large cmd
  371.   fi
  372.   clear run1
  373. fi
  374. if resp <> 0
  375.   go 1BADRUN
  376. fi
  377. goback 1ENDCHK
  378.  
  379. 1PARSUB
  380.  
  381. setscan cmd
  382. move hilite to choice
  383. clear j delim prog
  384. scan prog
  385. add i to i giving k
  386. add k to k
  387. until j = 4
  388.   if cmd ct entry j of pcs
  389.     move entry j of replies to param
  390.     if param = spaces
  391.       move entry k of prompts to prompt
  392.       trim prompt
  393.       combine prompt ' ?' into sline
  394.       move entry k of pqs to yesno
  395.       insert prog sline
  396.       if yesno
  397.         put query
  398.         get reply
  399.       else
  400.         fieldfill entry k of pdefs
  401.         put getparam
  402.         get param
  403.       fi
  404.       if funkey = 10
  405.         if label = '1RTN'
  406.           popdown bclr
  407.         else
  408.           user current_path
  409.           popfree p0
  410.           popup p0 from p1
  411.         fiè        clear bbdisp
  412.         return
  413.       fi
  414.       if yesno
  415.         if reply
  416.           move entry k of pdefs to param
  417.         else
  418.           move entry k of p2defs to param
  419.         fi
  420.       fi
  421.       trim param
  422.     fi
  423.     replace all entry j of pcs of cmd with param
  424.     move param to entry j of replies
  425.   fi
  426.   increment j
  427. fi k
  428. replace all '%M' of cmd with mflag
  429. replace all '%F' of cmd with fmpdir
  430. goback LABEL
  431.  
  432. 1SHELL
  433.  
  434. popdown p0
  435. fore 7
  436. back 0
  437. display cls
  438. if choice = 8
  439.   run
  440. else
  441.   large
  442. fi
  443. user cpath
  444. select ddrive
  445. popdown p1
  446. popdown ckid
  447. popdown m2id
  448. dspace
  449. insert sysfree display ddrive
  450. put freebytes nowait
  451. move hilite to choice
  452. clear bbdisp
  453. return
  454.  
  455. 1MSG
  456.  
  457. if eucn = 0
  458.   put nosysadm
  459. else
  460.   popdown khelp
  461.   put whatmsg
  462.   popdown bclr
  463.   if not anyfk
  464.     get msg
  465.     trim msg
  466.     if msg <> null
  467.       ms eucn uname ':' msg
  468.       if resp <> 0
  469.         put msgnotrx
  470.       else
  471.         move time to mst
  472.         move cn to vwcn
  473.         move eucn to veucn
  474.         insert msg mst vwcn veucn 
  475.         put rxdetails
  476.       fi
  477.     fi
  478.   fi
  479. fi
  480. clear bbdisp
  481. return
  482.  
  483. 1LOGIN
  484.  
  485. if not eusr or skip_login
  486.   go 2LOGIN
  487. fi
  488. move 1 to respèclear try
  489. until resp = 0 or try = 3
  490.   insert site
  491.   if try > 0
  492.     insert logfail
  493.   fi
  494.   move 120 to timer
  495.   if not secure
  496.     fieldfill guest
  497.   fi
  498.   put log noclear ul
  499.   if funkey = 10
  500.     stop
  501.   fi
  502.   if resp = 1
  503.     if blackout
  504.       fore 0
  505.       back 0
  506.       display cls
  507.       inkey char
  508.     fi
  509.     clear try
  510.   else
  511.     get uname pass
  512.     if build@ <> 1 or uname sw guest
  513.       move 999 to resp
  514.     fi
  515.     login uname pass ug
  516.     if resp <> 0
  517.       if resp <> 3
  518.         increment try
  519.       else
  520.         move 1 to try
  521.         ms server 'User ' uname ': login failure ' resp
  522.         put dupeuser 
  523.       fi
  524.       if try = 3
  525.         clear I
  526.         put hack wait 1 noclear
  527.         move 9 to delay        ;half a sec
  528.         if demo
  529.           move 5 to bells
  530.         fi
  531.         until i = bells 
  532.           wait 1
  533.           display bell
  534.         fi i
  535.         move 18 to delay
  536.         clear try
  537.         if demo
  538.           insert site
  539.           put 'ALERT' nowait
  540.           stop
  541.         fi
  542.       fi
  543.       move 1 to resp
  544.     fi
  545.   fi
  546. fi        
  547. if ug = 99
  548.   move 'LOG3' to log
  549. 2LOGIN
  550. fi
  551. move shell to shellout
  552. if shell
  553.   if eusr and sug = 0 or ug = sug
  554.   else
  555.     clear shellout
  556.   fi
  557. fi
  558. if not newcat and not shellout
  559.   disable shelling
  560. fi
  561. popdown p1
  562. clear bbdisp choice skip_login
  563. goback 1ENDLOG
  564.  
  565. 1ST
  566.  
  567. if colour
  568.   move 'CGA' to vtype
  569. fi
  570. if graphics
  571.   move 'EGA' to vtype
  572. fi
  573. put 'STATS' nowait
  574. cursor 17 22 servcat
  575. if secure
  576.   cursor 17 47 'High'
  577. else
  578.   cursor 17 48 'Low'
  579. fi
  580. if mins = 0
  581.   cursor 17 70 'Off'
  582. else
  583.   cursor 17 68 mins ' mins.'
  584. fi
  585. cursor 18 22 ms1 '.' ms2
  586. cursor 18 43 date
  587. cursor 18 70 vtype
  588. cursor 19 19 sysmax 'K'
  589. cursor 19 47 version
  590. cursor 19 72 ddrive
  591. cursor 20 21 sysfree
  592. cursor 20 46 residency
  593. cursor 20 68 elevel
  594. if nstat <> 0
  595.   cursor 21 19 'loaded' 
  596. fi
  597. cursor 21 46 cn
  598. cursor 21 68 eucn
  599. cursor 22 13 current_path
  600. clear bbdisp
  601. move hilite to choice
  602. return
  603.  
  604. 1BADRUN
  605.  
  606. move resp to char
  607. if responses ct char
  608.   move entry fcol of rforms to form
  609. else
  610.   move resp to cresp with lead_zeroes
  611.   insert cresp
  612.   move 'BRX' to form
  613. fièpopfree p0
  614. popup p0 from p1
  615. clear bbdisp
  616. put form nowait
  617. user current_path
  618. return
  619.  
  620. 1CAPTURE
  621.  
  622. fore 1
  623. back 7
  624. move hilite to choice
  625. userline 'STANDARD: C = Capture screen to disc, any other key for main screen'
  626. cursor 0 0
  627. inkey char
  628. clear bbdisp
  629. if char = 'C'
  630.   popdown khelp
  631.   put capture
  632.   popdown bclr
  633.   if funkey <> 10
  634.     get sline char
  635.     trim sline
  636.     dir sline
  637.     if found
  638.       insert sline
  639.       put exists
  640.       get create
  641.       if not create
  642.         popdown p1
  643.         popdown ckid
  644.         popdown m2id
  645.         return
  646.       fi              
  647.     fi
  648.     popdown p0
  649.     behave 3 sline
  650.     clear i
  651.     until i = 25
  652.       clear sline
  653.       scanvid i giving sline
  654.       if char = 'T'
  655.         move sline to sline2
  656.         trim sline
  657.         data sline
  658.         if sline <> sline2
  659.           data crlf
  660.         fi
  661.       else
  662.         data sline
  663.       fi
  664.       if resp <> 0
  665.         put sferr
  666.         move 24 to i
  667.       fi 
  668.     fi i
  669.     if char = 'T'
  670.       data ef
  671.     fi
  672.     behave 0
  673.   fi
  674. fi
  675. popdown p1
  676. popdown ckid
  677. popdown m2id
  678. return
  679.  
  680. 1JOTTER
  681.  
  682. move hilite to j
  683. clear create
  684. if nopads = 0
  685.   move '--------' to pads
  686. fi
  687. insert pads
  688. move 0a020h to bbmask
  689. put notepads
  690. clear bbdisp
  691. if choice = 30 or choice = 40
  692.   move j to choice
  693.   return
  694. fi
  695. move display to jotter
  696. popdown khelp
  697. if choice = 32 or jotter = dashes
  698.   put memname
  699.   if funkey <> 10
  700.     get jotter
  701.     clear jot
  702.     move true to create
  703.   else
  704.     move j to choice
  705.     return
  706.   fi
  707. fi
  708. move j to choice
  709. trim jotter
  710. combine initial_path '\' jotter '.TMJ' into jotname
  711. replace '\\' of cfp with '\'
  712. if not create
  713.   restore jotname jot
  714.   if resp <> 0
  715.     go 1J
  716.   fi
  717.   restore
  718. else
  719.   dir jotname
  720.   if found
  721.     insert jotname
  722.     put exists
  723.     get create
  724.     if not create
  725.       popdown bclr
  726.       return
  727.     fi
  728.   fi
  729. fi      
  730. fieldfill jot
  731. insert jotter
  732. put mem
  733. popdown bclr
  734. clear i
  735. if funkey <> 10
  736.   until i = 10
  737.     get entry i of jot
  738.   fi i
  739.   save jotname jot
  740.   if resp <> 0
  741.     go 1J
  742.   fi
  743.   save
  744.   if create and nopads < 10
  745.     move jotter to entry nopads of pads
  746.     increment nopads
  747.   fi
  748. fi
  749. go 2J
  750.  
  751. 1J
  752. insert jotname
  753. if not create
  754.   if resp = 99
  755.     insert garbage
  756.   else
  757.     insert badread
  758.   fi
  759.   restore
  760. else
  761.   insert badmake
  762.   save
  763. fi
  764. put badnotes
  765.  
  766. 2J
  767.  
  768. if create
  769.   dspace
  770.   insert sysfree display ddrive
  771.   put freebytes nowait
  772. fi
  773. return
  774.  
  775. 1INIT
  776.  
  777. vconst cyan_on_blue,68
  778.  
  779. cursor 0 0
  780. display cyan_on_blue
  781. draw 10 20 14 60
  782. cursor 12 22 'Initialising ... please wait'
  783.  
  784. ;DATA commands placed here to make more room for code avoiding overlays
  785.  
  786. DEFINE BELLS,60
  787. INT AUTOLOG
  788. INT BCLR
  789. INT CKID
  790. INT I,J,K,L
  791. INT KHELP
  792. INT LASTHELP
  793. INT M2ID
  794. INT MINS
  795. INT NOPADS
  796. INT P0,P1
  797. INT REASON
  798. INT RESIDENCY
  799. INT SUG
  800. INT TOPIC1
  801. INT TRY
  802. INT UG
  803. INT WID
  804.  
  805. var garbage,20,'contains garbage    '
  806. var badread,20,'could not be read   '
  807. var badmake,20,'could not be created'
  808.  
  809. VAR AC,60,OCCURS 10
  810. VAR AP,68,OCCURS 10
  811. VAR APT,1,OCCURS 10
  812. VAR APF,1,OCCURS 10
  813. VAR BLACK,1
  814. VAR CATLOC,68
  815. VAR CFP,68
  816. VAR CHAR,1
  817. VAR CMD,80
  818. VAR CMDS,60,OCCURS 10
  819. VAR CPATH,68
  820. VAR CRESP,5,'00000'
  821. VAR CURRENT_PATH,68
  822. VAR DATE11,11
  823. VAR DRV,1
  824. VAR DTA,64
  825. VAR DTS,64,OCCURS 10
  826. VAR FILENAME,14,'STANDARD'
  827. VAR FMPDIR,68,$FMPDIR
  828. VAR FN1,60
  829. VAR FORM,8
  830. VAR GUEST,16,'guest'
  831. VAR HLP,72,OCCURS 56
  832. VAR INITIAL_PATH,68
  833. VAR LABEL,4
  834. VAR LASTCAT,8
  835. VAR LOADED,12,'1BEGIN'
  836. VAR LOG,4,'LOG1'
  837. VAR LOGFAIL,23,'Invalid login ... retry'
  838. VAR JOTTER,8
  839. VAR JOTNAME,68
  840. VAR JOT,40,OCCURS 10
  841. VAR MFLAG,2
  842. VAR MSG,38
  843. VAR MST,8
  844. VAR MSVER,3,'X.X'
  845. VAR MS1,1,' 'èVAR MS2,1,' '
  846. VAR NEWPASS,16
  847. VAR NOSERVCAT,11,'Unavailable'
  848. VAR NULL,1
  849. VAR OLDPASS,16
  850. VAR PADS,8,OCCURS 10
  851. VAR PARAM,40
  852. VAR PASS,16
  853. VAR PATHS,68,OCCURS 10
  854. VAR PAU,1,OCCURS 10
  855. VAR PCS,2,OCCURS 4,'%1%2%3%4'
  856. VAR PROG,8
  857. VAR PROMPT,40
  858. VAR PROMPTS,40,OCCURS 40
  859. VAR REPLIES,40,OCCURS 4
  860. VAR PDEFS,40,OCCURS 40
  861. VAR P2DEFS,40,OCCURS 40
  862. VAR PQS,1,OCCURS 40
  863. VAR PTY,1,OCCURS 10
  864.  
  865. VAR REASONS,29,OCCURS 4,
  866. 'Running in Demonstration mode'
  867. 'Not allowed when Security low'
  868. 'Incorrect old password given '
  869. 'Change not allowed for guests'
  870.  
  871. VAR RES,1,OCCURS 10
  872. VAR RES1,40,OCCURS 10
  873. VAR RES2,40,OCCURS 10
  874. VAR RESPONSES,5,'25678'
  875. VAR RFORMS,3,OCCURS 5,
  876. 'BR2'
  877. 'BR2'
  878. 'BR6'
  879. 'BR7'
  880. 'BR8'
  881.  
  882. VAR SLINE,80
  883. VAR SLINE2,80
  884. VAR SERVCAT,8,'CONFIG'
  885. VAR SFILES,8,OCCURS 10
  886. VAR SITE,24
  887. VAR STEXT,40
  888. VAR STFORMS,68
  889. VAR STYPE,28,'Unregistered Shareware V4.80'
  890. VAR T1,5,OCCURS 10
  891. VAR T2,5,OCCURS 10
  892. VAR TEXTS,16,OCCURS 13
  893. VAR TIM1,5
  894. VAR TIM2,5
  895. VAR TIMENOW,5
  896. VAR TIMEOUT,2
  897. VAR UNAME,16
  898. VAR VERSION,5,'V1.04'
  899. VAR VTYPE,3,'MDA'
  900. VAR VEUCN,3
  901. VAR VWCN,3
  902. VAR WST,2,OCCURS 10
  903. VAR WT,17,'press any key ...'
  904.  
  905. HEXVAR BELL,07
  906. HEXVAR CRLF,0D0A
  907. HEXVAR EF,1A
  908.  
  909. LOGICAL BLACKOUT
  910. LOGICAL CREATE
  911. LOGICAL EUSR
  912. LOGICAL FIRST
  913. LOGICAL FOREVER
  914. LOGICAL NA
  915. LOGICAL NEWCAT
  916. LOGICAL PREV_EUSR
  917. LOGICAL REPLY
  918. LOGICAL RUN1
  919. LOGICAL SECURE
  920. LOGICAL SKIP_LOGIN
  921. LOGICAL SHELL
  922. LOGICAL SHELLOUT
  923. LOGICAL YESNOè
  924. vconst cls,11
  925. END
  926.  
  927. if build@ = 1
  928.   move 'Professional V4.80' to stype
  929. fi
  930. if build@ = 2
  931.   move 'Registered Shareware V4.80' to stype
  932. fi
  933. if fmpdir = null
  934.   move 'C:\FMP' to fmpdir
  935. fi
  936. move resp to msver        ;e.g. returns ' 33'
  937. move zero to delim
  938. move fcol to residency
  939. combine fmpdir '\STANDARD.OVR' into stforms
  940. replace all '\\' of stforms with '\'
  941. if not colour
  942.   move '/M' to mflag
  943. fi
  944. setscan msver 1
  945. scan ms1 ms2            ;need each digit
  946. user current_path
  947. user initial_path
  948. move true to hide
  949. lookfor stforms
  950. if not found
  951.   insert filename stforms
  952.   display cls
  953.   put no_fmpdir_forms nowait
  954.   stop 1
  955. fi
  956. popscreen p0
  957. screen 1
  958. forms stforms
  959.  
  960. 1RESTORE
  961.  
  962. combine initial_path '\' servcat '.TMS' into cfp
  963. replace '\\' of cfp with '\'
  964. restore cfp catloc site texts cmds pty paths dts wst pau res res1 res2
  965. if resp = 0
  966.   restore ac ap apt apf hlp t1 t2 secure prompts pdefs p2defs pqs
  967. fi
  968. if resp = 0
  969.   restore timeout black shell sug
  970. fi
  971. if resp = 0
  972.   restore
  973. else
  974.   back 1
  975.   cyrsor 17 2 'Fatal Error:'
  976.   if resp = 99
  977.     cursor 18 2 'Service file ' cfp ' is corrupt'
  978.   else
  979.     cursor 18 2 'Service file ' cfp ' could not be opened'
  980.   fi
  981.   stop 2
  982. fi
  983. move black to blackout
  984. if catloc <> null
  985.   move true to eusr
  986. fi
  987. if newcat and eusr and prev_eusr
  988.   move true to skip_login
  989. fi
  990. move eusr to prev_eusr
  991. if secure
  992.   move 'LOG1' to log
  993. else
  994.   move 'LOG2' to log
  995. fi
  996. if eusr and not newcat
  997.   catalog catloc
  998.   if resp <> 0
  999.     displayln 'Catalogue open failure ' resp
  1000.     displayln catloc '\CATALOG.EUC not found'
  1001.     displayln 'Failure to open EUC Catalogue file'
  1002.     stop 3
  1003.   fi
  1004. fi
  1005. screen 1
  1006. dspace
  1007. insert site sysfree display ddrive ldate
  1008. put start nowait
  1009. insert texts
  1010. put serv nodata noclear
  1011. fore 15
  1012. back 1
  1013. popfree p1
  1014. popscreen p1
  1015. if khelp = 0
  1016.   put 'khelp' nowait
  1017.   popget khelp
  1018.   put 'bclr' nowait
  1019.   popget bclr
  1020. fi
  1021. popdown p1
  1022. screen 0
  1023. move timeout to autolog
  1024. move autolog to mins
  1025. multiply autolog by 60
  1026. if not newcat
  1027.   clear sfiles i
  1028.   move '.' to delim
  1029.   dir *.TMS
  1030.   until not found or i = 10
  1031.     setscan display 30
  1032.     scan entry i of sfiles
  1033.     dir
  1034.   fi i
  1035.   clear pads
  1036.   dir *.TMJ
  1037.   until not found or nopads = 10
  1038.     setscan display 30
  1039.     scan entry nopads of pads
  1040.     dir
  1041.   fi nopads
  1042. fi
  1043. clear newcat
  1044. goback LOADED
  1045. ENDTASK
  1046.  
  1047. ; Title   : STANDARD.TSK         Last Updated : see 'about'
  1048. ; Author  : Mike Eastham.- FmP.        Version      : see 'version'
  1049. ; Purpose : Standard Services Selection using Workload configuration.
  1050. ; Notes   : Configuration performed using CONFIG.TSK
  1051.  
  1052. ;Following are the form, menu, popup and dropdowns to be processed by SCR
  1053. ;into an .OVR file.
  1054.  
  1055. ;Some personalisation of colours can be achieved by amending the following
  1056. ;macros:
  1057.  
  1058. @VIDEO
  1059.  
  1060. @macro form
  1061. @dim
  1062. @col char,black,cyan
  1063. @acceptfk esc,f10
  1064. @endm
  1065. @macro form_fore,'black'
  1066. @macro form_back,'cyan'
  1067.  
  1068. @macro alert
  1069. @dim
  1070. @col char,white,red
  1071. @endm
  1072.  
  1073. @macro alert_fore,'cyan'
  1074.  
  1075. @macro cancel
  1076. @line
  1077. @col char,blue,cyan
  1078. @endm
  1079.  
  1080. @macro info_box
  1081. @dim
  1082. @col char,black,green
  1083. @win line17,column1,depth6,width78
  1084. @endm
  1085.  
  1086. @macro alert_box
  1087. @dim
  1088. @col char,white,red
  1089. @win line17,column1,depth6,width78
  1090. @endm
  1091.  
  1092. @macro normal_text
  1093. @bright
  1094. @col char,white,blue
  1095. @endm
  1096.  
  1097. @default≤ dim,cyan,blue
  1098. @head left,'  SERVICE SELECTION'
  1099. @head right,'Copyright (C) FmP 1991'
  1100. @head centre,'{                        }'
  1101.  
  1102. @macro noserv
  1103. @bright
  1104. @col char,white,green
  1105. @win line17,column1,depth6,width78
  1106.             {                }
  1107.  
  1108. @endm
  1109.  
  1110. @macro bwin,'@win line17,column1,depth6,width78'
  1111.  
  1112. @markers []
  1113. @nf start
  1114. @col char,cyan,blue
  1115. @banner
  1116. @col char,white,blue
  1117. @win line1,column0,depth23,width80
  1118. @out white,double
  1119. @dim
  1120. @col char,black,white
  1121. @win line4,column28,width48,depth9
  1122. @out black
  1123.  
  1124.   Help about the highlighted service ...   
  1125. @line
  1126.   Other facilities ...                  PgDown
  1127. @line
  1128.   About ...                               PgUp
  1129. @line
  1130.   Exit ...                           Esc / End
  1131.  
  1132.  
  1133.  
  1134. @bright
  1135. @col char,white,blue
  1136.  
  1137. {    } Memory{            } bytes free on drive{ }
  1138. @dim
  1139. @col char,black,white
  1140. @use '{           }            Taskmaster STANDARD task'
  1141. @end
  1142.  
  1143. @nf freebytes
  1144. @bright
  1145. @col char,white,blue
  1146. @window line16,column28,width50,depth1
  1147. {    } Memory{            } bytes free on drive{ }
  1148. @end
  1149.  
  1150. @nf about
  1151. $form$
  1152. @win line3,column4,width72,depth18
  1153. @drop
  1154. @outline $form_fore$,double
  1155.  
  1156.   ABOUT ...
  1157. @line
  1158.   This is the STANDARD end-user service task{V1.04} dated 28/08/91
  1159.   interpreted by Taskmaster{Unregistered Shareware V4.80}
  1160. @line
  1161.   Optional interface to the End User Computing (EUC) facility.
  1162. @line
  1163.   Copyright (C) FmP 1991.  All rights reserved worldwide.
  1164. @line
  1165.  
  1166.   Loaded        {                                                      }
  1167.   Service file  {                                                      }
  1168.   EUC catalogue {                                                      }
  1169.  
  1170. $cancel$
  1171.   Acknowledge ...                                              any key
  1172. @end
  1173. @nf serv
  1174. @dim
  1175. @col char,black,white
  1176. @win line2,column2,depth15,width24
  1177. @out red
  1178.  
  1179.                     F1
  1180.                     F2
  1181.                     F3
  1182.                     F4
  1183.                     F5
  1184.                     F6
  1185.                     F7
  1186.                     F8
  1187.                     F9
  1188. @win line2,column2,depth15,width19
  1189. @dim
  1190. @bbmenu red,white
  1191. @fkmap
  1192. @out red
  1193.                   8
  1194. @repeat x13
  1195.  {                }
  1196.                   2 
  1197. @END
  1198.  
  1199. @nf clearkeys
  1200. @col char,black,white
  1201. @win line3,column22,depth9,width2
  1202. @end
  1203.  
  1204. @nf features
  1205. @dim
  1206. @col char,blue,cyan
  1207. @win line 2,column 28,depth14,width 50
  1208. @bbmenu blue,cyan
  1209. @fkmap
  1210. @out black
  1211. @key bright,white,cyan
  1212.  
  1213.  {Help on the use of  Bounce-bar menus ...     F1 }
  1214.  {Display the contents of a  File ...          F2 }
  1215.  {View/save output from last  Application ...  F3 }
  1216.  {Provides a simple  Notepad facility ...      F4 }
  1217.  {Loads alternative service  catalogues ...    F5 }
  1218.  {Give information about PC  environment ...   F6 }
  1219.  {Change  working drive and/or directory ...   F7 }
  1220. @line
  1221.  {SHELL OUT - i.e. begin new  DOS shell ...    F8 }
  1222.  {SHELL OUT -  make all memory available ...   F9 }
  1223. @line
  1224.   Service selection ...                Esc / End
  1225. @end
  1226.  
  1227. @nf noshells
  1228. $alert$
  1229. @window line 8,column16,width48,depth8
  1230. @outline $alert_fore$
  1231. @drop
  1232.  
  1233.   SECURITY
  1234. @line
  1235.   The system administrator has not granted you
  1236.   a SHELL facility.
  1237. @line
  1238. @bright
  1239.   Acknowledge ...                      any key
  1240. @end
  1241.  
  1242. @head left,'STANDARD: SESSION LOGIN'
  1243.  
  1244. @macro log
  1245. @banner
  1246. @border
  1247.  
  1248. @str min1
  1249. @str
  1250.     USERNAME ?    [.               ]    Enter your name and optional
  1251.                         password, press 
  1252.     PASSWORD ?    [!               ]
  1253.                                                {                       }
  1254. @border
  1255. @endm
  1256.  
  1257. ;        TEMPLATES FOR SESSION LOGIN
  1258.  
  1259. @nf log1
  1260. @acceptfk none
  1261. $log$
  1262. @bright
  1263. @END
  1264.  
  1265. @nf log2
  1266. @acceptfk f10è$log$
  1267.  
  1268.      Thi≤ átasδ  i≤ runninτ with certain security features switched off and
  1269.      you can optionally quit now by pressing F10.
  1270.  
  1271. áááááSimilarly¼ áusernamσ á'guestº i≤ onl∙ availablσ iε áthi≤ ámode« áUser≤ ì
  1272. áááááare normall∙ requireΣ t∩ ente≥ ß valiΣ usernamσ anΣ passworΣ áa≤ setu≡
  1273.      b∙ thσ Systeφ Administrato≥ o≥ yourself.
  1274.  
  1275.      When using EUC, security is always high and users are catalogued  into
  1276.      a user-group. Users in group 99, once logged-in  are also permitted to
  1277.      escape from the task.
  1278.  
  1279. @bright
  1280. @END
  1281.  
  1282. @nf log3
  1283. @acceptfk f10
  1284. $log$
  1285.  
  1286.      To exit, press F10.
  1287. @bright
  1288. @end
  1289.  
  1290. @nf dupeuser
  1291. $alert$
  1292. @window line4,column4,width72,depth17
  1293. @drop
  1294. @out $alert_fore$
  1295.  
  1296.   Problem: A user with this name is already logged-on.
  1297. @line
  1298.   Possible reasons:
  1299. @line
  1300.     1. You are working on a network and somebody else has already
  1301.        logged on using the same name.  This may be a breach of
  1302.        security.
  1303. @line
  1304.     2. The system crashed on a previous occasion giving Taskmaster
  1305.        no opportunity to mark the user off-line in the EUC catalogue
  1306. @line
  1307.   Action: I have sent a message to the System Administrator informing
  1308.   him of the problem but I cannot guarantee its receipt.
  1309. @line
  1310. @bright
  1311.   Acknowledge ...                                              any key
  1312. @end
  1313.  
  1314. @nf hack
  1315. $alert_box$
  1316. $bwin$
  1317.  
  1318.  
  1319.          U N A U T H O R I S E D    A C C E S S    A T T E M P T E D
  1320. @END
  1321.  
  1322. @nf alert
  1323. @head left,STANDARD: SECURITY
  1324. @dim
  1325. @col page,cyan,red
  1326. @banner
  1327. @border
  1328.  
  1329.    You have failed three times to give a valid username and password.
  1330.  
  1331.    Becausσ áthi≤ átasδ ái≤ runninτ iε demonstratioε ámode¼ áthσ áaler⌠ áha≤ ì
  1332. áááceased« áNormally¼ ái⌠ woulΣ havσ gonσ oε fo≥ mucΦ longe≥ áiε áorde≥ át∩ ì
  1333. áááaler⌠ other≤ t∩ ß possiblσ unauthoriseΣ attemp⌠ t∩ acces≤ you≥ system.
  1334.  
  1335.    Afte≥ áß ásuitablσ áperiod¼ ß logiε woulΣ theε ábσ árequireΣ áagain« áIε ì
  1336. ááápractice¼  iµ  yo⌡ neeΣ ß higΦ leve∞ oµ security¼ yo⌡ shoulΣ amenΣ áyou≥  ì
  1337. áááAUTOEXEC.BATê filσ t∩ loaΣ T═ STANDARDê oε ß dail∙ basis.
  1338.  
  1339.    If  you are developing your own secure task, you should make  sure  that 
  1340.    you  disable  Breakin  via  the CTRL/C  and  CTRL/Break  keys  by  using 
  1341.    Taskmaster's DISABLE command.
  1342.  
  1343.    When  you  combine these features with a login procedure  that  requires 
  1344.    password entry, and the passwords are encrypted, you have the basis of a 
  1345.    secure system.
  1346. $normal_text$
  1347. @end
  1348.  
  1349. @nf logoff
  1350. @acceptfk none
  1351. @log
  1352. $alert$
  1353. @win line7,column18,depth11,width44
  1354. @drop
  1355. @out $alert_fore$
  1356.  
  1357.  
  1358.   End session ? [Y]    Y=Yes, N=No
  1359.  
  1360. @line
  1361.   No ...        Cancel the request
  1362. @line
  1363.   Yes ...    Return to the logon screen
  1364. @line
  1365. @bright
  1366.   Action ...                          
  1367. @end
  1368.  
  1369. ;        TEMPLATES FOR PASSWORD UPDATE
  1370.  
  1371. @nf newpass
  1372. $form$
  1373. @str
  1374. @str
  1375. @win line2,column26,depth12,width46
  1376. @drop
  1377. @out $form_fore$
  1378.  
  1379.   OLD PASSWORD ?  [!               ]
  1380.   NEW PASSWORD ?  [.               ]
  1381.  
  1382. @line
  1383.   The password can't be changed when running
  1384.   in demonstration mode or when security is
  1385.   set low.  The 'guest' password can never be
  1386.   changed.
  1387. $cancel$
  1388.   Cancel ...                       Esc / F10
  1389. @end
  1390.  
  1391. @nf passfail
  1392. $alert$
  1393. @win line8,column19,depth7,width42
  1394. @drop under
  1395. @out $alert_fore$
  1396.  
  1397.   Password unchanged ..
  1398. @line
  1399.   Reason: {                             }
  1400. @line
  1401. @bright
  1402.   Acknowledge ...                any key
  1403. @end
  1404.  
  1405.  
  1406. @nf stats
  1407. @dim
  1408. @col char,cyan,blue
  1409. $bwin$
  1410.   Service file                 Security                Auto logout
  1411.   Dos version                  Date                    Video mode
  1412.   Maximum memory               STANDARD vers.          Default drive
  1413.   Available memory             Resident code           ERRORLEVEL
  1414.   NETWARE IPX          -       WCN.              -     EUC WCN.        -
  1415.   Directory
  1416. @end
  1417.  
  1418. @nf infoè$info_box$
  1419.             {                }
  1420.  
  1421. @repeat x4
  1422.    {                                                                        }
  1423. @END
  1424.  
  1425. @nf bclr
  1426. @col char,cyan,blue
  1427. $bwin$
  1428. @end
  1429.  
  1430. @nf sorry
  1431. $noserv$
  1432.   SORRY : No information about this service has been provided by the System
  1433.           Administrator.
  1434. @end
  1435.  
  1436. @nf noserv
  1437. $noserv$
  1438.    This service has not yet been fully installed.   Contact your System
  1439.    Administrator or complete installation using CONFIG.TSK
  1440. @END
  1441.  
  1442. @nf noavail
  1443. $noserv$
  1444.    This service is only available between the hours of{     } and{     }
  1445.    Please try again as appropriate.
  1446. @END
  1447.  
  1448. @nf noipx
  1449. $alert_box$
  1450. è   Messages can only be sent to the System Administrator when running on a
  1451.    NOVELL NETWORK.  There was no active networking software on your m/c at
  1452.    the time this task was loaded.
  1453. @end
  1454.  
  1455.  
  1456. @nf khelp
  1457. @dim
  1458. @col char,cyan,blue
  1459. $bwin$
  1460.  
  1461.    Cursor:      First field:  Home        Action: 
  1462.  
  1463.    Editing: Delete from cursor to end of field = ctrl/T
  1464.             Character insert: ins  Character delete: del or ctrl/Gè@END
  1465.  
  1466. ;        TEMPLATES FOR SERVICE CATALOGUE SELECTION
  1467.  
  1468. @nf servcats
  1469. $form$
  1470. @acceptfk f1
  1471. @win line2,column17,depth17,width46
  1472. @bbmenu $form_fore$,$form_back$
  1473. @drop
  1474. @out $form_fore$
  1475.  
  1476.   SELECT SERVICE MENU
  1477. @line
  1478. @repeat x5
  1479.    {        }    {        }
  1480. @line
  1481.   If the new services are available only to
  1482.   specific users or have a higher security,
  1483.   you may be required to login again.
  1484. $cancel$
  1485.   Select ...                             
  1486.   Action ...                           
  1487.   Cancel ...                      Esc / F10
  1488. @end
  1489.  
  1490. @nf nocats
  1491. $alert$
  1492. @win line8,column4,depth9,width72
  1493. @drop
  1494. @out $alert_fore$
  1495.  
  1496.   No service catalogues found in the current working directory:
  1497.   {                                                                }
  1498. @line
  1499.   The master service file is called CONFIG.TMS and normally resides in
  1500.   C:\FMP or as defined by the environment variable FMPDIR.
  1501. @line
  1502. @bright
  1503.   Acknowledge ...                                             any key   
  1504. @end
  1505.  
  1506. @nf loading
  1507. $alert$
  1508. @win line7,column20,depth10,width40
  1509. @outline $alert_fore$,double
  1510. @bright
  1511.  
  1512. @draw
  1513.      LOADING NEW SERVICE CATALOGUE
  1514. @draw
  1515.  
  1516.             Please Wait ...
  1517. @end
  1518.  
  1519. @nf nodrive
  1520. $alert$
  1521. @win line9,column14,depth7,width52
  1522. @drop
  1523. @out $alert_fore$
  1524.  
  1525.   Drive{ } is not responding.
  1526. @line
  1527.   If it is a floppy, check that the door is closed.
  1528. @line
  1529. @bright
  1530.   Acknowledge ...                          any key   
  1531. @end
  1532.  
  1533.  
  1534. @nf br2
  1535. $alert_box$
  1536.              Invalid COMSPEC or COMMAND.COM not found
  1537.  
  1538. áááTaskmaste≥ ácoulΣ no⌠ finΣ COMMAND.CO═ o≥ thσ prograφ specifieΣ b∙ áthσ ì
  1539. áááCOMSPE├ environmen⌠ variable«  Non-hard disc users :  pleasσ check that
  1540.    that your BOOT (system) disc is in the drive.
  1541. @end
  1542.  
  1543. @nf br6
  1544. $alert_box$
  1545.             Unable to create swap file
  1546.  
  1547. áááTaskmaste≥ áha≤ ábeeε áunablσ t∩ loaΣ thσ árequireΣ áapplicatioε áwhicΦ ì
  1548. áááneedeΣ mos⌠ oµ thσ basiπ memory«  Normall∙ Taskmaste≥ copie≤ itselµ ou⌠ ì
  1549. ááát∩ ádisπ áiε orde≥ t∩ makσ rooφ bu⌠ i⌠ couldn'⌠ creatσ ß á'SWAPº áfile« ìèáááPleasσ checδ tha⌠ you≥ disπ ha≤ rooφ anΣ thσ TM╨ environmen⌠ variable« 
  1550. @end
  1551.  
  1552. @nf br7
  1553. $alert_box$
  1554.             Disc write error on swap file
  1555.  
  1556. áááTaskmaste≥ áha≤ ábeeε áunablσ t∩ loaΣ thσ árequireΣ áapplicatioε áwhicΦ ì
  1557. áááneedeΣ mos⌠ oµ thσ basiπ memory«  Normall∙ Taskmaste≥ copie≤ itselµ ou⌠ ì
  1558. ááát∩ disπ iε orde≥ t∩ makσ rooφ bu⌠ i⌠ couldn'⌠ writσ t∩ thσ 'SWAPº file¼ ì
  1559. ááái.e« thσ filσ t∩ whicΦ i⌠ copie≤ itself«  Perhap≤ thσ disπ i≤ full.
  1560. @end
  1561.  
  1562. @nf br8
  1563. $alert_box$
  1564.             Insufficient memory available
  1565.  
  1566. áááTaskmaste≥ áha≤ ábeeε unablσ t∩ loaΣ thσ requireΣ áapplicatioε ábecausσ ì
  1567. ááátherσ ái≤ no⌠ enougΦ memory«  Yo⌡ caε finΣ ou⌠ ho≈ mucΦ memor∙ áremain≤ ì
  1568. áááb∙ áusinτ áFunctioε ke∙ 6«  I⌠ ma∙ bσ tha⌠ thσ prograφ ái≤ ásimpl∙ áto∩ ì
  1569. ááálarge« Pleasσ contac⌠ you≥ systeφ administrator.
  1570. @end
  1571.  
  1572.  
  1573. @nf brx
  1574. $alert_box$
  1575.         Unexpected response ({     }) loading application
  1576.  
  1577. áááTaskmaste≥ áha≤ attempteΣ anΣ faileΣ t∩ loaΣ you≥ applicatioε ábu⌠ áthσ ì
  1578. áááreasoε áfo≥ failurσ i≤ unknown«  Pleasσ tr∙ again«  Iµ thσ áprobleφ ái≤ ì
  1579. ááápermanent¼ áthσ ácomputer'≤ memor∙ ma∙ bσ corrupt« áPleasσ áreboo⌠ áanΣ ì
  1580. áááretry.è@end
  1581.  
  1582. ;        TEMPLATES FOR SCREEN DATA CAPTURE
  1583.  
  1584. @nf capture
  1585. $form$
  1586. @str
  1587. @list IT
  1588. @win line1,column4,depth15,width74
  1589. @drop
  1590. @outline $form_fore$
  1591.  
  1592.   File to receive captured screen data ?
  1593.  
  1594.   [.                                                               ]
  1595.  
  1596.   [T]  I=store as image file, T=store as text file
  1597. @line
  1598.   Image file: an exact copy of the screen (i.e. 2000 characters).
  1599. @line
  1600.   Text file : has trailing spaces removed from each line and a carriage-
  1601.               return, linefeed sequence appended to each unless the line
  1602.               is 80 characters long.
  1603. $cancel$
  1604.   Cancel ...                                                  Esc / F10
  1605. @end
  1606.  
  1607. @nf sferr
  1608. $alert$
  1609. @win line8,column13,depth8,width54
  1610. @drop
  1611. @outline $alert_fore$
  1612.  
  1613.   DISC ERROR
  1614.  
  1615. @line
  1616.   Attempting to create or write to screen image file
  1617. @line
  1618. @bright
  1619.   Continue ...                              any key
  1620. @end
  1621.  
  1622. @nf exists
  1623. $alert$
  1624. @log
  1625. @win line8,column3,depth8,width74
  1626. @drop
  1627. @outline $alert_fore$
  1628.  
  1629.   File{                                                                }
  1630.   already exists.
  1631. @line
  1632.   Do you want to overwrite it ?        [Y]    Y=Yes, N=No
  1633. @line
  1634. @bright
  1635.   Action ...                                                       
  1636. @end
  1637.  
  1638.  
  1639. @nf newpath
  1640. $form$
  1641. @acceptfk f2
  1642. @path
  1643. @win line3,column4,depth14,width70
  1644. @drop
  1645. @out $form_fore$
  1646.  
  1647.   CHANGE WORKING DRIVE AND/OR DIRECTORY
  1648. @line
  1649.   New working directory ?
  1650.   [.                                                               ]
  1651. @line
  1652.   Enter pathname.  A drive specifier (a-z) is optional.
  1653. @line
  1654.   If the field marker flashes, then either the drive specifier or
  1655.   path is invalid.
  1656. $cancel$
  1657.   Restore initial drive and directory ...                        F2
  1658.   Cancel  ...                                             Esc / F10
  1659. @end
  1660.  
  1661.  
  1662. @nf dpfile
  1663. @file exists
  1664. $form$
  1665. @win line6,column4,depth12,width72
  1666. @drop under
  1667. @outline $form_fore$
  1668.  
  1669.   DISPLAY FILE
  1670. @line
  1671.   Filename ?
  1672.  
  1673.   [.                                                           ]
  1674. @line
  1675.   A path may be included.  The opening field marker will flash if the
  1676.   file does not exist. Press CTRL/T if you wish to clear the field.
  1677. $cancel$
  1678.   Cancel ...                                                Esc / F10
  1679. @end
  1680.  
  1681. ;        TEMPLATES FOR PROGRAM DATA CAPTURE
  1682.  
  1683. @nf query
  1684. @log
  1685. $form$
  1686. @window line7,column20,depth10,width48
  1687. @drop
  1688. @outline $form_fore$
  1689.  
  1690.   Program / DOS command ...        {        }
  1691. @line
  1692.  {                                          }
  1693. @line
  1694.   Answer ...    [Y]               Y=Yes, N=No
  1695. $cancel$
  1696.   Action ...                             
  1697.   Cancel ...                        Esc / F10
  1698. @end
  1699.  
  1700. @nf getparam
  1701. @str
  1702. $form$
  1703. @window line7,column20,depth10,width48
  1704. @drop
  1705. @outline $form_fore$
  1706.  
  1707.   Program / DOS command ...        {        }
  1708. @line
  1709.  {                                          }
  1710. @line
  1711.   [.                                       ]
  1712. $cancel$
  1713.   Default ...                            
  1714.   Cancel ...                        Esc / F10
  1715. @end
  1716.  
  1717. ;        TEMPLATES FOR THE NETWORK MESSAGING FEATURE
  1718.  
  1719. @nf nosysadm
  1720. $alert$
  1721. @win line9,column12,depth6,width56
  1722. @drop
  1723. @out $alert_fore$
  1724.  
  1725.   You can't send a message to the system administrator
  1726.   because he/she is not online at the moment ...
  1727. @line
  1728. @bright
  1729.   Acknowledge ...                              any key
  1730. @end
  1731.  
  1732. @nf whatmsg
  1733. @str min1
  1734. $form$
  1735. @window line8,column16,depth8,width48
  1736. @drop
  1737. @outline $form_fore$
  1738.  
  1739.   Enter a message for the System administrator.
  1740.   38 characters maximum.
  1741. @line
  1742.   [.                                     ]
  1743. $cancel$
  1744.   Cancel ...                         Esc / F10
  1745. @end
  1746.  
  1747. @nf msgnotrx
  1748. $alert$
  1749. @win line6,column16,depth11,width48
  1750. @drop
  1751. @out $alert_fore$
  1752.  
  1753.   Your message was not received.  Perhaps the
  1754.   System administrator has gone 'off-line'.
  1755.  
  1756.   Alternatively, there may be too many messages
  1757.   pending already.
  1758.  
  1759.   Please try again later ...
  1760. @line
  1761. @bright
  1762.   Acknowledge ...                       any key
  1763. @end
  1764.  
  1765. @nf rxdetails
  1766. @dim
  1767. @col char,white,magenta
  1768. @window line7,column14,depth9,width52
  1769. @drop
  1770. @outline white
  1771.  
  1772.   Message:{                                      }
  1773.   sent at:{        } from workstation:{   }
  1774. @line
  1775.   The System administrator's workstation connection
  1776.   number is:{   }
  1777. @line
  1778. @bright
  1779.   Acknowledge ...                          any key
  1780. @end
  1781.  
  1782. ;        TEMPLATES FOR THE NOTEPAD FEATURE
  1783.  
  1784. @nf notepads
  1785. $form$
  1786. @win line2,column26,depth16,width46
  1787. @bbmenu $form_fore$,$form_back$
  1788. @drop under
  1789. @out $form_fore$
  1790.  
  1791.   SELECT NOTEPAD
  1792. @line
  1793. @repeat x5
  1794.    {        }    {        }
  1795. @line
  1796.   Begin new notepad ...                  F2
  1797. $cancel$
  1798.   Select ...                             
  1799.   Action ...                           
  1800.   Cancel ...                      Esc / F10
  1801. @end
  1802.  
  1803. @nf memname
  1804. $form$
  1805. @alpha min1,convert
  1806. @win line2,column26,depth14,width46
  1807. @out $form_fore$
  1808. @drop
  1809.  
  1810.   CREATE NOTEPAD
  1811. @line
  1812.  
  1813.   Name for new Notepad [.       ]
  1814.  
  1815.   Use alphabetic characters only.
  1816. @line
  1817.   A file called 'name.tmj' will be created in
  1818.   the default directory.
  1819. $cancel$
  1820.   Cancel ...                       Esc / F10
  1821. @end
  1822.  
  1823. @nf mem
  1824. $form$
  1825. @win line2,column26,depth15,width46
  1826. @drop
  1827. @out $form_fore$
  1828. @repeat x10
  1829. @str
  1830.  
  1831. @repeat x10
  1832.   [                                        ]
  1833.   Editing{        }
  1834. $cancel$
  1835.   Cancel ...                       Esc / F10
  1836. @end
  1837.  
  1838. @nf badnotes
  1839. $alert$
  1840. @window line 5,column5,width70,depth18
  1841. @outline $alert_fore$
  1842. @drop
  1843.  
  1844.   Problem with Notepad:
  1845.   {                                                                }
  1846. @line
  1847.   The file{                    }
  1848. @line
  1849.   Possible reasons: 
  1850. @line
  1851.   If reading the notepad, its file may be corrupt or someone has
  1852.   attempted to edit or overwrite it.
  1853. @line
  1854.   If creating a new notepad, a most likely cause is insufficient
  1855.   disc space.
  1856. @line
  1857.   Action:  Exit and rectify
  1858. @line
  1859. @bright
  1860.   Acknowledge ...                                        any key
  1861. @end
  1862.  
  1863. @eof
  1864.